package com.noahplat.monitor;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 作者：李景星
 * 描述：微服务监控中心
 * 开发时间：2020-10-23
 */
@SpringBootApplication
@EnableAdminServer  //开启微服务监控服务
@EnableDiscoveryClient  //将该服务注册到eureka
public class MonitorApplication {

    public static void main(String[] args) {
        SpringApplication.run(MonitorApplication.class, args);
    }
}
